package com.yswy.common.zfbOrder;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 19401
 * @date 2022/5/31 15:56
 **/
@Data
public class DoTradeRefundResVO {
    @ApiModelProperty("退款状态 true:成功 false:失败")
    private boolean refundCode;
    private String refundMsg;
    private String refundBody;
    @ApiModelProperty("退款时间")
    private Date refundTime;

    public DoTradeRefundResVO(boolean refundCode, String refundMsg, String refundBody) {
        this.refundCode = refundCode;
        this.refundMsg = refundMsg;
        this.refundBody = refundBody;
        this.refundTime = new Date();
    }
}
